package com.moon.robot.mapper;


import com.forte.qqrobot.anno.depend.Beans;

import com.moon.robot.pojo.Qq;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


import java.util.List;

@Mapper
@Beans
public interface QQMapper {
    @Select("SELECT * FROM qq")
    List<Qq> findAllQQ();


    @Insert("INSERT INTO qq(qq) VALUES(#{s})")
    Integer addAdmin(String s);
}
